package com.example.demo.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.example.demo.dao.SysLogDao;
import com.example.demo.mapper.SysLogMapper;
import com.example.demo.model.SysLog;
import com.example.demo.service.SysLogService;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j //Lombok log  替换这种写法private  final Logger logger = LoggerFactory.getLogger(当前类名.class);
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper,SysLog> implements SysLogService {

//    @Autowired
//    private SysLogDao sysLogDao;


//    @Override
//    public  boolean save(SysLog sysLog){
//        //这里可以把日志做持久化操作
//        //sysLogDao.save(sysLog);
//        log.info(sysLog.getParams());
//        return true;
//    }
}
